<template>
  <div id="app">
    <div class="head-wrap">
      <myhead @changePage="changePage" />
    </div>
    <router-view />
  </div>
</template>
<script>
import myhead from '@/views/components/myhead.vue'
export default {
  components: {
    myhead
  },
  mounted () {},
  methods: {
    changePage (page) {
      console.log(page)
    }
  }
}
</script>
<style lang="scss">
body {
  margin: 0;
}
.head-wrap {
  position: relative;
  z-index: 1;
}
h1,h2,h3,h4,h5,h6,p,ul {
  margin: 0;
  padding: 0;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  // text-align: center;
  color: #fff;
  width: 3840px;
  max-width: 100%;
  height: 100vh;
  min-height: 1030px;
  overflow: hidden;
  background: rgb(0, 42, 62);
  font-size: 28px;
  position: fixed;
  left: 0;
  right: 0;
}

#nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
.hand-cursor {
  cursor: pointer;
}
*:focus {
  outline: none;
}

.clear {
  clear: both;
}
/*滚动条样式*/
*::-webkit-scrollbar {
  transition: all .3s;
    position: absolute;
    width: 14px;
    height: 14px;
    /*height: 4px;*/
}
*::-webkit-scrollbar-thumb {
  opacity: 0.1;
  transition: all .3s;
  background: rgba(0,0,0,0.1);
  border-radius: 14px;
  &:hover {
    border-radius: 14px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: rgba(0,0,0,0.2);
    opacity: 1;
  }
}
*::-webkit-scrollbar-track {
  opacity: 0;
  transition: opacity .3s;
  &:hover {
    opacity: 1;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 14px;
    background: rgba(0,0,0,0.1);
  }
}
*::-webkit-scrollbar-corner{
  background: transparent;
}

.form-item {
  // margin-top: 40px;
  padding: 0 40px 40px;
  display: flex;
  align-items: center;
  font-size: 32px;
  .checkbox {
    width: 32px;
    height: 32px;
  }
  .label {
    margin-right: 20px;
  }
}
.el-message-box {
  .el-message-box__header{
    padding: 40px;
  }
  .el-message-box__close {
    font-size: 40px;
  }
  .el-message-box__title {
    font-size: 38px;
  }
  .el-button {
    width: 200px;
    height: 80px;
    font-size: 32px;
    border-radius: 10px;
    margin-right: 30px;
  }
  width: 800px !important;
  height: 420px;
}
</style>
